/**
 * CategorySearchItem
 */

 var React = require("react");
 var CategorySearchItem = React.createClass({
    getDefaultProps: function (){
        return {
            type: "",
            click: function (){}
        }
    },
    render: function (){
        return (
            <button className="category-item" onClick={this.props.click.bind(null, this.props.type)} type="search_nearby">
                <i className="search"></i>
                <span>附近搜索</span>
            </button>
        )
    }
 });

 module.exports = CategorySearchItem;
